#pragma once

#include "fxcc/core/graph/common/pch.h"

struct SDFInfo
{
    glm::ivec2 m_ImagePageSize;
    int m_NumPages;
    int m_NumChars;
    int m_NumRows;
    int m_NumCols;
    int m_NumCharsOfPage;
    int m_LeftCharsOfPage;
    int m_FontSize;
    std::string m_FontFamily;
    std::string m_FileName;

    float GridHeight() const
    {
        return float(m_ImagePageSize.y / m_NumRows);
    }

    float GridWidth() const
    {
        return float(m_ImagePageSize.x / m_NumCols);
    }
    static std::string SDFPageSuffix()
    {
        return "_.bmp";
    }
};
